<?php /* Smarty version Smarty-3.1.13, created on 2013-12-25 20:55:00
         compiled from "E:\Apache\www\hyqx\admin\templates\defaults\channel_show.htm" */ ?>
<?php /*%%SmartyHeaderCode:1200052bad5a44c48a9-11955427%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2cd6ad990911817cbd0862ff048724a1b534edfb' => 
    array (
      0 => 'E:\\Apache\\www\\hyqx\\admin\\templates\\defaults\\channel_show.htm',
      1 => 1374290190,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1200052bad5a44c48a9-11955427',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'title' => 0,
    'other_channel_id' => 0,
    'child_channel_information' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.13',
  'unifunc' => 'content_52bad5a4509ab3_40192045',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_52bad5a4509ab3_40192045')) {function content_52bad5a4509ab3_40192045($_smarty_tpl) {?><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><?php echo $_smarty_tpl->tpl_vars['title']->value;?>
</title>
<script language="javascript" type="text/javascript" src="js/default/jquery-1.9.1.min.js"> </script>
<script language="javascript" type="text/javascript"> 
$=jQuery;
$(document).ready(function(){
	other_channel_id=<?php echo $_smarty_tpl->tpl_vars['other_channel_id']->value;?>
;
	 for(var i=0;i<other_channel_id.length;i++){
		$("#channel_"+other_channel_id[i]).hide();
	}
});

function showChild(pre_channel_id){
	if(($("#channel_"+pre_channel_id+" img").attr('src'))=="images/channel/right.png"){
		url="child_channel_id_get.php";
	    $.get(url,{pre_id:pre_channel_id,timestamp:new Date().getTime()},function(data){
		$("#channel_"+pre_channel_id+" img").attr('src',"images/channel/down.png");
			$("#channel_"+pre_channel_id+" img").addClass('arror_down');
			if(data!=""){
				if((data=="登录超时，请重新登录!")||(data=="forbidden")){
					alert(data);
					window.location="channel_show.php";
				}
				data=data.split("|");
				 for(var i=0;i<data.length;i++){
					 $("#channel_"+data[i]).css('background','#eeeeff');
					  $("#channel_"+data[i]).show();
					}
			}
			});
	}else{
		url="child_channel_id_tree_get.php";
	    $.get(url,{pre_id:pre_channel_id,timestamp:new Date().getTime()},function(data){
		        $("#channel_"+pre_channel_id+" img").attr('src',"images/channel/right.png");
				$("#channel_"+pre_channel_id+" img").removeClass('arror_down');
				$("#channel_"+pre_channel_id+" img").addClass('arror_right');
				if(data!=""){
					if((data=="登录超时，请重新登录!")||(data=="forbidden")){
						alert(data);
						window.location="channel_show.php";
					}
					data=data.split("|");
					for(var i=0;i<data.length;i++){
						 $("#channel_"+data[i]+" img").attr('src',"images/channel/right.png");
						$("#channel_"+data[i]+" img").removeClass('arror_down');
						$("#channel_"+data[i]+" img").addClass('arror_right');
						$("#channel_"+data[i]).hide();
					}
				}
				
			}
	);
}
}
</script>

<style>
/*主体*/
html,body {
	width:  100%;
	height: 100%;
	font-size: 13px;
	font-family: "微软雅黑";
	color:#333;
}
*{
  margin:0px;
  padding:0px;
}
#main {
    padding-left:20px;
    padding-top:3px;
    background:#EEFFEE;
	border: 1px double #aaa;
}
li{
 list-style-type: none;
}

img{
  border:0px;
}
.division {
	border: 1px dotted #aaa;
}
a{
   text-decoration: none;
   color:#03F;
}
a:hover{
  color:red;
}
.tmp{
visibility:hidden;
}
.parent{
 color:#333;
 padding:4px;
}
.child{
padding:4px;
}
.arror_right{
  width:10px;
  height:15px;
}
.arror_down{
  width:15px;
  height:10px;
}
.channel_name{
 padding-left:8px;
}
.article_number{
 padding-left:20px;
}
.article_visit_path{
 padding-left:20px;
 padding-right:20px;
}
</style>
</head>
<body>
	<div id="main">
	<?php echo $_smarty_tpl->tpl_vars['child_channel_information']->value;?>

	</div>
</body>
</html><?php }} ?>